package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 楼层商品关联表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("floor_shop")
public class FloorShop extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 楼层表关联主键id
     */
    @TableField("floor_id")
    private Integer floorId;
    /**
     * 关联主键id(该id根据楼层类型变动)
     */
    @TableField("shop_id")
    private Integer shopId;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 楼层tab主键id(无tab则为0)
     */
    @TableField("floor_tab_id")
    private Integer floorTabId;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_delete")
    private Integer isDelete;


}
